package com.cx;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@EnableScheduling    //开启定时任务
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})

//开启事务管理 参数让数据实现cGlib代理
@EnableTransactionManagement(proxyTargetClass=true)

public class VueStudyApplication {

/*服务器 mysql 通外网
cx
cx1197675028
* */
    public static void main(String[] args) {
        SpringApplication.run(VueStudyApplication.class, args);
    }

}
